-- GENERATED SPELL FOR [Mokk the Savage] --


function spell0_1514(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_1514', 624, 1)
end

function Sorts_1514(pUnit, Event)
local choix_sorts_1514 = math.random(0, 0)
if choix_sorts_1514 == 0 then
pUnit:RegisterEvent('spell0_1514', 1, 1)
end
end

function mob1514_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1514', math.random(1500, 3000), 1)
end

function mob1514_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1514_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1514_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1514, 1, 'mob1514_Action')
RegisterUnitEvent(1514, 2, 'mob1514_Leave')
RegisterUnitEvent(1514, 3, 'mob1514_Kill')
RegisterUnitEvent(1514, 4, 'mob1514_Die')
